﻿using System;


namespace eShop.DataAccess.Entity
{
    public class User
    {
        #region Constructor
        public User()
        {
        }
        public User(String userName, String password, String role, DateTime? createdOn)
        {
            UserName = userName;
            Password = password;
            Role = role;
            CreatedOn = createdOn;
        }
        #endregion


        #region private variables
        public Int32 Id { get; set; }
        public String UserName { get; set; }
        public String Password { get; set; }
        public String Role { get; set; }
        public DateTime? CreatedOn { get; set; }
        public Boolean IsActive { get; set; }
        #endregion
    }
}

